<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Russian Dolls for the Maximum Stable Set Problem: weighted/heur.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Russian Dolls for the Maximum Stable Set Problem
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c6bb93bd66df1b2cbb6f13a988333d46.html">weighted</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">heur.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="weighted_2heur_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef HEUR_H_</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HEUR_H_</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keywordtype">void</span> <a class="code" href="unweighted_2heur_8c.html#a1dd51fd95b193a1d4f935a5073c37d96">initHeur</a>(<a class="code" href="structGraph.html" title="Bitmap implementation of a graph adjacency matrix.">Graph</a> * g);</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keywordtype">void</span> <a class="code" href="unweighted_2heur_8c.html#a625233348b1241f2fb49fed33eee1c70">closeHeur</a>();</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="unweighted_2heur_8c.html#a3f9a8b937d900b86b3de791c36d139ce">getMemSize</a>();</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keywordtype">double</span> <a class="code" href="unweighted_2heur_8c.html#a2027ae43019c70da346336742fad13ce" title="Greedy heuristic for vertex coloring.">greedyColoring</a>(<a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * R, <a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * W, <span class="keyword">const</span> <span class="keywordtype">double</span> * w, <span class="keywordtype">double</span> lim, <span class="keywordtype">int</span> * minRNode, <span class="keywordtype">int</span> * maxRNode, <span class="keywordtype">int</span> * minWNode, <span class="keywordtype">int</span> * maxWNode);</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keywordtype">double</span> <a class="code" href="unweighted_2heur_8c.html#a717197e991c443bf99af1fb398c8eb04" title="Greedy heuristic for maximum clique.">maxClique</a>(<a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * R, <span class="keyword">const</span> <span class="keywordtype">double</span> * w, <span class="keywordtype">int</span> minRNode, <span class="keywordtype">int</span> maxRNode);</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keywordtype">void</span> <a class="code" href="unweighted_2heur_8c.html#a9de919f70d9dd818ef6b6f7b4c6d78a4" title="Greedy heuristic for maximum stable set containing a specified vertex.">maxStab</a>(<a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * R, <a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * W, <span class="keywordtype">int</span> u, <span class="keywordtype">int</span> * minRNode, <span class="keywordtype">int</span> * maxRNode, <span class="keywordtype">int</span> * minWNode, <span class="keywordtype">int</span> * maxWNode);</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keywordtype">double</span> <a class="code" href="unweighted_2heur_8c.html#a948d814bd8735ddf44c743f2fca6dc4b" title="Greedy heuristic for expanding a specified clique.">expClique</a>(<a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * R, <span class="keyword">const</span> <span class="keywordtype">double</span> * w, <span class="keywordtype">int</span> * C, <span class="keywordtype">int</span> minRNode, <span class="keywordtype">int</span> maxRNode, <span class="keywordtype">int</span> topC);</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keywordtype">double</span> <a class="code" href="unweighted_2heur_8c.html#af540c831cb20234d08060437a1c6b42e" title="Greedy heuristic for fractional coloring.">fracColoring</a>(<a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * R, <a class="code" href="bitmap_8h.html#a5047cbfad0b49c9f1c7a57ddbee2009a" title="Bitmap node&#39;s type.">NODETYPE</a> * W, <span class="keyword">const</span> <span class="keywordtype">double</span> * w, <span class="keywordtype">double</span> lim, <span class="keywordtype">int</span> * minRNode, <span class="keywordtype">int</span> * maxRNode, <span class="keywordtype">int</span> * minWNode, <span class="keywordtype">int</span> * maxWNode);</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* HEUR_H_ */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 14 2014 13:23:35 for Russian Dolls for the Maximum Stable Set Problem by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
